package com.yuyou.fn.api;

import com.yuyou.fn.api.dto.*;

import java.util.Collection;

public interface BaseDataService {


    /**
     * all 年级
     * @return
     */
    Collection<GradeDto> findAllGrade();

    /**
     * all科目
     * @return
     */
    Collection<SubjectDto> findAllSubject();

    /**
     * all区域
     * @return
     */
    Collection<AreaTeamDto> findAllAreaTeam();





    /**
     * 最近期数
     * @param areaTeamId
     * @return
     */
    Collection<PeriodDto> findNearPeriod(Long areaTeamId);


    /**
     * 生源学校
     * @param province
     * @param city
     * @param district
     * @param query
     * @return
     */
    Collection<StudentSchoolDto> findStudentSchool(String province, String city, String district, String query) ;

    String findCourseDisplayConfigFromCache(Long areaTeamId);

}
